package com.yj.ccs.abs.web.asset.dto;

import com.yj.ccs.abs.common.enums.AssetStatusType;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.hibernate.validator.constraints.NotEmpty;

import javax.validation.constraints.NotNull;
import java.util.List;

/**
 * Copyright 2018 (C) Yunjian-VC
 * Created on : 2018/4/4
 * Author     : Unbelievable9
 **/
@Data
public class UpdateAssetStatusDto {

    @NotEmpty(message = "资产ID列表不能为空")
    @ApiModelProperty(value = "资产ID列表", required = true)
    private List<Long> asset_id_list;

    @NotNull(message = "资产状态不能为空")
    @ApiModelProperty(value = "资产状态", required = true)
    private AssetStatusType assetStatusType;
}
